


from collections import Counter;

users = ["name2","name2","name3","name1","name2"];
# 快速统计
user_counter = Counter(users)
user_counter.update(["name5"])
print(user_counter)
print(dir(user_counter))